﻿<%@ Page Title="" Language="C#" MasterPageFile="Theme.Master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <title><%=this.SiteData().SiteName %>: Checkout</title>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">


<div id="bdy">
    <div class="colmiddle780 cntr">
        <h4>An Account is Not Required</h4><hr />
        <p>If you are a new customer and would like to create an AdventureWorks account, <a href=#>Start here.</a> 
        If you would like to check out as a guest, click the Continue button to complete your purchase. 
        </p>
        <p>
        With an <%=this.SiteData().SiteName%> account you can:
            <ul class="simpleList">
            <li>Save time - checking out is faster.</li> 
            <li>Access your order history.</li>
            </ul>
        </p>
        <input type="button" name="anon" value="Continue &gt;&gt;&gt;" onclick="location.href='<%=Url.Action("Shipping","Order") %>'" />
        <br />
        <div style="height:30px"></div>
        
        <h4>... Or Use Your Open ID</h4><hr />
        <iframe src="https://localhost18622.rpxnow.com/openid/embed?token_url=<%=Url.GetSiteUrl()%>/authentication/receivetoken?ReturnUrl=<%=Url.GetSiteUrl() %>/Order/Shipping"
          scrolling="no" frameBorder="no" style="width:400px;height:120px;">
        </iframe>
        </p>
        <p>
          Open ID is an identity system that allows you to sign in to websites like ours with
          a single account. Your username and password are secure with Open ID - and you don't
          have to remember yet another password.
        </p>
        <div style="height:30px"></div>
        <h4>... Or an Email address with Password</h4><hr />
        <form method="post" action="<%=Url.Action("Login","Authentication")%>?ReturnUrl=<%=Url.GetSiteUrl()+"/"+Url.Action("Shipping","Order")%>">
        <input type="hidden" name="ReturnUrl" value="<%=Url.AbsoluteAction("Shipping")%>" />
        <table>
            <tr>
                <td>Email:</td>
                <td><%= Html.TextBox("login") %></td>
            </tr>
            <tr>
                <td>Password:</td>
                <td><%= Html.Password("password") %></td>
            </tr>
            <tr>
                <td></td>
                <td><input type="checkbox" name="rememberMe" value="true" /> Remember me?</td>
            </tr>
            <tr>
                <td colspan=2>
                    <input type="submit" value="Login" />
                </td>
            </tr>
        </table>
    
    
    </div>
</div>

</asp:Content>
